package net
{
	import flash3.net.MsgPacket;
	public class SystemGroup extends MessageGroup
	{
		//系统数据包
		public static const MDM_GR_SYSTEM:uint					=	210									//系统信息
		public static const SUB_GR_MESSAGE	:uint				=	100									//系统消息
			
			
		//系统命令码
		
		public static const MDM_GP_SYSTEM:uint					=	103								//系统命令
		public static const SUB_GP_VERSION:uint				=	100								//版本通知
		public static const SUB_SP_SYSTEM_MSG:uint				=	101								//系统消息
			
		public function SystemGroup()
		{
			super();
		}
		
		override public function defMessage():void
		{
			addMessage(new MessageDef(MDM_GR_SYSTEM, SUB_GR_MESSAGE, "系统信息", onMessage));
//			addMessage(new MessageDef(MDM_GP_SYSTEM, SUB_GP_VERSION, "版本通知", onVersion));
//			addMessage(new MessageDef(MDM_GP_SYSTEM, SUB_SP_SYSTEM_MSG, "系统消息", onSystemMsg));
		}
		
		public function onMessage(packet:MsgPacket):void
		{
		}
		
//		public function onVersion(packet:MsgPacket):void
//		{
//		}
//		
//		public function onSystemMsg(packet:MsgPacket):void
//		{
//		}
		
	}
}